import { createApp } from 'vue'
import store from './store'
import 'virtual:svg-icons-register'
import App from './App.vue'
import router from './router'
import 'reset-css'
import '@/assets/style/index.scss'
import '@/assets/style/public.css'
const app = createApp(App)
import { ElMessage } from "element-plus";
import { createPinia } from 'pinia';

//引入elementplus图标库
// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

app.use(store).use(router).use(ElMessage).use(createPinia()).mount('#app')
